﻿using System;
using System.Windows.Forms;
using System.ComponentModel;

namespace MoneyWentWhere.WinFormsUI.UI
{
    public class CustomCell<EditT, ValueT> : DataGridViewTextBoxCell
        where EditT : Control, IDataGridViewEditingControl
    {
        public override Type EditType
        {
            get
            {
                return typeof(EditT);
            }
        }

        public override Type ValueType
        {
            get
            {
                return typeof(ValueT);
            }
        }

    }
}
